//
//  CantripInputField.m
//  Cantrip
//
//  Created by James Callender on Mon Jul 15 2002.
//  Copyright (c) 2002 James Callender. All rights reserved.
//

#import "CantripInputField.h"


@implementation CantripInputField

- (void)awakeFromNib
{
    [self setVerticallyResizable:YES];
    [self setFont:[NSFont systemFontOfSize:13]];
    [self setRichText:NO];
}

- (NSString *)stringValue
{
    return [[[self string] copy] autorelease];
}

- (void)setStringValue:(NSString *)theString
{
    [self setString:theString];
    [self setNeedsDisplay:YES];
}

- (void)selectText:(id)sender
{	
    [self selectAll:sender];
}

- (BOOL)acceptsFirstResponder
{
    return YES;
}

- (void)changeColor:(id)sender
{
    
}

@end
